package com.xdf.docmanagementsystem.dao;

import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;
import com.xdf.docmanagementsystem.entity.DocumentDailyRecord;
import org.apache.ibatis.annotations.Param;
import com.xdf.docmanagementsystem.common.util.Example;
/**
* @Description : 文档档案日志
* @Author : ZK
* @Date : 2020-06-29 08:27:36
*/
@Repository
public interface DocumentDailyRecordMapper{
    int insert(DocumentDailyRecord record);

    int insertSelective(DocumentDailyRecord record);

    int multiInsert(List<DocumentDailyRecord> list);

    int insertDumplicateKeyUpdate(DocumentDailyRecord record);

    int updateByPrimaryKey(DocumentDailyRecord record);

    int updateByPrimaryKeySelective(DocumentDailyRecord record);

    int multiUpdate(List<DocumentDailyRecord> list);

    int deleteByPrimaryKey(Integer id);

    DocumentDailyRecord selectByPrimaryKey(Integer id);

    List<DocumentDailyRecord> selectAll();

    List<DocumentDailyRecord> selectByParam(DocumentDailyRecord record);

    int updateByExampleSelective(@Param("record") DocumentDailyRecord record,@Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<DocumentDailyRecord> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") DocumentDailyRecord record,@Param("example") Example example);

    long countByExample(@Param("example") Example example);

}